package com.chatdating.service.impl;

import com.chatdating.entity.Tag;
import com.chatdating.mapper.TagMapper;
import com.chatdating.service.TagService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class TagServiceImpl implements TagService {

    @Autowired
    private TagMapper tagMapper;

    public List<Tag> findAll(Integer id){
        return tagMapper.findAll(id);
    };

}
